package kr.hkit.androidcomplete01.chaptert11;

import kr.hkit.androidcomplete01.R;
import android.app.Activity;
import android.os.Bundle;
import android.text.InputFilter;
import android.text.Spanned;
import android.widget.EditText;

public class EditLimitEx extends Activity {
	EditText LimitEdit;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch11_editlimit);
		
		LimitEdit = (EditText) findViewById(R.id.ch11_limit);
		
		InputFilter[] filter = {new InputFilter.LengthFilter(3)};	//
		LimitEdit.setFilters(filter);
	}
}
